<?php
/*
 * [JINYUN!] (C)2001-2099 Jinyunweb.com
 * This is NOT a freeware, use is subject to license terms
 * $Id: 2017-12-13 03:39:35 apple $
*/
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'application';
$return=array();
$tabs=array(
	array('op'=>'application','title'=>'Application'),
	array('op'=>'filetype','title'=>'File Type'),
	array('op'=>'spinner','title'=>'Spinner'),
	array('op'=>'control','title'=>'Control'),
	array('op'=>'currency','title'=>'Currency'),
	array('op'=>'editor','title'=>'Editor'),
	array('op'=>'directional','title'=>'Directional'),
	array('op'=>'player','title'=>'Player'),
	array('op'=>'brand','title'=>'Brand'),
	array('op'=>'medical','title'=>'Medical'),
);
$tabs_jinyunicon=array(
	array('op'=>'application','query'=>'from=jinyunicon','title'=>'Application'),
	array('op'=>'filetype','query'=>'from=jinyunicon','title'=>'File Type'),
	array('op'=>'spinner','query'=>'from=jinyunicon','title'=>'Spinner'),
	array('op'=>'control','query'=>'from=jinyunicon','title'=>'Control'),
	array('op'=>'currency','query'=>'from=jinyunicon','title'=>'Currency'),
);
if($_RQ['from']=='jinyunicon'){
	$return['tabs']=$tabs_jinyunicon;
}else{
	$return['tabs']=$tabs;
}
$return['item']=array();
if($_RQ['from']=='jinyunicon'){
	$return['htmls']=file_get_contents(ROOT_D.'/common/templates/tools/jinyunicon.html');
}else{
	$return['htmls']=file_get_contents(ROOT_D.'/common/templates/tools/icon.html');
}

exi($return);